package com.wyh.domain.po.groupOne.contractManagement;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同费项表
 * </p>
 *
 * @author lsf
 * @since 2024-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("contractitem")
public class Contractitem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * -1：已删除，1：未删除
     */
    private Integer state;

    /**
     * 合同表ID
     */
    private Integer contractid;

    /**
     * 费项id
     */
    private Integer item;

    /**
     * 费项名称
     */
    private String name;

    /**
     * 公式id
     */
    private Integer formula;

    /**
     * 计费方式
     */
    private Integer method;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 开始计费日期
     */
    private LocalDateTime starttime;

    /**
     * 表id
     */
    private Integer meterid;

    /**
     * 初始读数
     */
    private Integer Initialreading;



}
